localhost as hostname confusion [duplicate]

Posted by Baboon on Super User See other posts from Super User or by Baboon
Published on 2013-11-09T03:40:44Z Indexed on 2013/11/09 9:59 UTC
Read the original article Hit count: 210

Filed under:
|

This question already has an answer here:

I have a basic understanding about hostname and FQDN. Now I am confused, do I really have to specify a name for my hostname? So for example:

Hostname: somename
Domain: mydomain.com
FQDN: somename.mydomain.com

Now, I see something that the hostname is localhost. What is the difference and impact of that? So my FQDN if localhost is my hostname would be localhost.mydomain.com, right?

© Super User or respective owner

Related posts about ubuntu-12.04

Related posts about hostname